<?php

declare(strict_types=1);

namespace App\Model;



/**
 * @property int $id 
 * @property int $client_id 
 * @property string $imei 
 * @property string $ctwing_id 
 * @property int $type 
 * @property int $model 
 * @property int $online 
 * @property string $volt 
 * @property int $signal 
 * @property string $signal_strength 
 * @property string $signal_power 
 * @property string $power 
 * @property string $frequency 
 * @property int $battery_status 
 * @property string $alarm_time 
 * @property string $alarm_content 
 * @property string $hardware_version 
 * @property string $software_version 
 * @property string $imsi 
 * @property string $iccid 
 * @property int $status 
 * @property string $create_at 
 * @property string $update_at 
 * @property string $temp 
 * @property string $temp_time 
 * @property int $heart_rate 
 * @property string $heart_time 
 * @property int $blood_diastolic 
 * @property int $blood_systolic 
 * @property string $blood_time 
 * @property int $step_number 
 * @property string $step_time 
 * @property string $longitude 
 * @property string $latitude 
 * @property string $location 
 * @property string $location_time 
 * @property int $location_type 
 * @property int $oxygen 
 * @property string $oxygen_time 
 * @property string $open_time 
 * @property string $close_time 
 */
class Device extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'device';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'client_id', 'imei', 'ctwing_id', 'type', 'model', 'online', 'volt', 'signal', 'signal_strength', 'signal_power', 'power', 'frequency', 'battery_status', 'alarm_time', 'alarm_content', 'hardware_version', 'software_version', 'imsi', 'iccid', 'status', 'create_at', 'update_at', 'temp', 'temp_time', 'heart_rate', 'heart_time', 'blood_diastolic', 'blood_systolic', 'blood_time', 'step_number', 'step_time', 'longitude', 'latitude', 'location', 'location_time', 'location_type', 'oxygen', 'oxygen_time', 'open_time', 'close_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'client_id' => 'integer', 'type' => 'integer', 'model' => 'integer', 'online' => 'integer', 'signal' => 'integer', 'battery_status' => 'integer', 'status' => 'integer', 'heart_rate' => 'integer', 'blood_diastolic' => 'integer', 'blood_systolic' => 'integer', 'step_number' => 'integer', 'location_type' => 'integer', 'oxygen' => 'integer'];
}
